task welcome - Welcome Reward Command
Command Title
/task welcome
Description
This command allows you to set up a reward for new members joining your Discord server. You can specify the amount of points to reward and optionally set a minimum account age (in days) for a user to be eligible for the reward.
Usage
/task welcome <reward> [account_age]
Parameters
Required Parameters:
<reward>
: The number of points to reward new members upon joining the server. This value must be a positive integer or 0. Setting it to 0 will disable the welcome reward.
Optional Parameters:
[account_age]
: The minimum age of a Discord account (in days) required to receive the welcome reward. If omitted, there is no account age restriction. This value must be a non-negative integer.
Examples
-
Example 1: Reward new members with 50 points upon joining.
/task welcome reward:50
-
Example 2: Reward new members with 100 points, but only if their account is at least 7 days old.
/task welcome reward:100 account_age:7
Notes
- The
<reward>
parameter is mandatory and mustbea non-negative integer. - The
[account_age]
parameter is optional and must be a non-negative integer representing the minimum account age in days. - Only new members joining the server after this command is executed will be eligible for the welcome reward.
- Members will only receive this reward once upon their initial entry to the server; rejoining will not grant the reward again.
FAQ
Q: Can I set a welcome reward that only applies to older accounts?
A: Yes, by using the [account_age]
parameter, you can specify the minimum age (in days) of an account required to receive the welcome reward.